.class public Lcom/waiqin365/compons/camera/aq;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/ScaleGestureDetector$OnScaleGestureListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;


# direct methods
.method public constructor <init>(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/compons/camera/aq;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onScale(Landroid/view/ScaleGestureDetector;)Z
    .locals 5

    const/16 v0, 0x64

    const/4 v2, 0x0

    invoke-virtual {p1}, Landroid/view/ScaleGestureDetector;->getScaleFactor()F

    move-result v1

    iget-object v3, p0, Lcom/waiqin365/compons/camera/aq;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-static {v3}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->o(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Landroid/widget/SeekBar;

    move-result-object v3

    invoke-virtual {v3}, Landroid/widget/SeekBar;->getProgress()I

    move-result v3

    const/high16 v4, 0x3f800000    # 1.0f

    cmpl-float v4, v1, v4

    if-lez v4, :cond_1

    const/high16 v4, 0x40000000    # 2.0f

    mul-float/2addr v1, v4

    float-to-int v1, v1

    add-int/2addr v1, v3

    :goto_0
    if-gez v1, :cond_0

    move v1, v2

    :cond_0
    if-le v1, v0, :cond_2

    :goto_1
    iget-object v1, p0, Lcom/waiqin365/compons/camera/aq;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-static {v1}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->o(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Landroid/widget/SeekBar;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/widget/SeekBar;->setProgress(I)V

    return v2

    :cond_1
    const/high16 v4, 0x40400000    # 3.0f

    mul-float/2addr v1, v4

    float-to-int v1, v1

    sub-int v1, v3, v1

    goto :goto_0

    :cond_2
    move v0, v1

    goto :goto_1
.end method

.method public onScaleBegin(Landroid/view/ScaleGestureDetector;)Z
    .locals 1

    const/4 v0, 0x1

    return v0
.end method

.method public onScaleEnd(Landroid/view/ScaleGestureDetector;)V
    .locals 0

    return-void
.end method
